package ru.sanluck.books;

import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface BookMapper {
    BookEntity toEntity(Book book);
    Book toDomain(BookEntity bookEntity);
}
